package leetcode.biweekly.week82;

import leetcode.helper.H;

public class Solution2Test extends H {

	public void debug4(Solution2 so) {
		H.compare(3, so.latestTimeCatchTheBus(H.str2array3("[2]"), H.str2array3("[2]"), 2));
		H.compare(1, so.latestTimeCatchTheBus(H.str2array3("[3]"), H.str2array3("[2,3]"), 2));
		H.compare(3, so.latestTimeCatchTheBus(H.str2array3("[3]"), H.str2array3("[2,4]"), 2));
		H.compare(16, so.latestTimeCatchTheBus(H.str2array3("[10,20]"), H.str2array3("[2,17,18,19]"), 2));
		H.compare(20, so.latestTimeCatchTheBus(H.str2array3("[20,30,10]"), H.str2array3("[19,13,26,4,25,11,21]"), 2));
	}

	public void debug3(Solution2 so) {
//		H.compare(so, so);
	}

	public void debug2(Solution2 so) {
//		H.compare(so, so);
	}

	public void debug1(Solution2 so) {
//		H.compare(so, so);
	}

	public static void main(String[] args) {
		Solution2Test test = new Solution2Test();
		Solution2 so = new Solution2();
		test.debug1(so);
		test.debug2(so);
		test.debug3(so);
		test.debug4(so);
	}

}
